import store from '@/store'
export const hasPermi = {
    install (Vue) {
        Vue.directive('has', {
            inserted: function(el, binding) {
              if (!Vue.prototype.hasBtn(binding.value)) {/*$_has 写在config-ruoyi.js*/
                //el.parentNode.removeChild(el);
              }
            }

        })
    }
}
